KFbxNodeAttribute Class Reference

#include <kfbxnodeattribute.h>
Inheritance diagram for KFbxNodeAttribute:
Inheritance graph
[legend]

List of all members.


Detailed Description

This class is the base class to all types of node attributes.

A node attribute is the content of a node. A NULL node attribute is set by calling function KFbxNode::SetNodeAttribute() with a NULL pointer.

Definition at line 57 of file kfbxnodeattribute.h.


Public Types

enum   EAttributeType {
   eUNIDENTIFIED,
   eNULL,
   eMARKER,
   eSKELETON,
   eMESH,
   eNURB,
   ePATCH,
   eCAMERA,
   eCAMERA_STEREO,
   eCAMERA_SWITCHER,
   eLIGHT,
   eOPTICAL_REFERENCE,
   eOPTICAL_MARKER,
   eNURBS_CURVE,
   eTRIM_NURBS_SURFACE,
   eBOUNDARY,
   eNURBS_SURFACE,
   eSHAPE,
   eLODGROUP,
   eSUBDIV
}
  Node attribute types. More...

Public Member Functions

virtual EAttributeType  GetAttributeType () const
  Return the type of node attribute.
int  GetNodeCount () const
  Return the node count using this attribute.
KFbxNode GetNode (int pIndex=0) const
  Return the node this attribute is set to.
virtual KFbxObject Clone (KFbxObject *pContainer, KFbxObject::ECloneType pCloneType) const
  Creates a clone of this object.

Public Attributes

KFbxTypedProperty< fbxDouble3 Color
  This property handles the color.

Static Public Attributes

static const char *  sColor
  Property Names.
static const fbxDouble3  sDefaultColor
  Property Default Values.

Member Enumeration Documentation

Node attribute types.

  • eUNIDENTIFIED
  • eNULL
  • eMARKER
  • eSKELETON
  • eMESH
  • eNURB
  • ePATCH
  • eCAMERA
  • eCAMERA_STEREO,
  • eCAMERA_SWITCHER
  • eLIGHT
  • eOPTICAL_REFERENCE
  • eOPTICAL_MARKER
  • eNURBS_CURVE
  • eTRIM_NURBS_SURFACE
  • eBOUNDARY
  • eNURBS_SURFACE
  • eSHAPE
  • eLODGROUP
  • eSUBDIV
Enumerator:
eUNIDENTIFIED 
eNULL 
eMARKER 
eSKELETON 
eMESH 
eNURB 
ePATCH 
eCAMERA 
eCAMERA_STEREO 
eCAMERA_SWITCHER 
eLIGHT 
eOPTICAL_REFERENCE 
eOPTICAL_MARKER 
eNURBS_CURVE 
eTRIM_NURBS_SURFACE 
eBOUNDARY 
eNURBS_SURFACE 
eSHAPE 
eLODGROUP 
eSUBDIV 

Definition at line 96 of file kfbxnodeattribute.h.


Member Function Documentation

virtual EAttributeType GetAttributeType (  )  const [virtual]

int GetNodeCount (  )  const

Return the node count using this attribute.

Returns:
The count of nodes with this attribute set.

KFbxNode* GetNode ( int  pIndex = 0  )  const

Return the node this attribute is set to.

Parameters:
pIndex  The index of the node to retrieve
Returns:
Pointer to the node, or NULL if the current attribute is not set to a node.

virtual KFbxObject* Clone ( KFbxObject pContainer,
KFbxObject::ECloneType  pCloneType  
) const [virtual]

Creates a clone of this object.

Parameters:
pContainer  The object, typically a document or a scene, that contains the new clone(can be NULL).
pCloneType  The type of clone to be created.
Returns:
The new clone, or NULL (if the specified clone type is not supported).

Reimplemented from KFbxObject.

Reimplemented in KFbxGeometry, KFbxMesh, and KFbxProceduralGeometry.


Member Data Documentation

const char* sColor [static]

Property Names.

Reimplemented in KFbxLight.

Definition at line 63 of file kfbxnodeattribute.h.

const fbxDouble3 sDefaultColor [static]

Property Default Values.

Reimplemented in KFbxLight.

Definition at line 66 of file kfbxnodeattribute.h.

This property handles the color.

Default value is (0.8, 0.8, 0.8)

Reimplemented in KFbxLight.

Definition at line 72 of file kfbxnodeattribute.h.

KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute
KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute